package com.ruoyi.accounting.domain.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class AccAccountingRecordImport {
    @Excel(name = "交易类型", orderNum = "0")
    private String type;        // 交易类型

    @Excel(name = "日期", format = "yyyy-MM-dd HH:mm:ss", orderNum = "1")
    private LocalDateTime recordTime;          // 日期（含时间）

    @Excel(name = "分类", orderNum = "2")
    private String category;    // 分类

    @Excel(name = "子分类", orderNum = "3")
    private String subCategory; // 子分类

    @Excel(name = "支出账户", orderNum = "4")
    private String account;     // 支出账户

    @Excel(name = "金额", orderNum = "5")
    private BigDecimal amount;  // 金额

    @Excel(name = "成员", orderNum = "6")
    private String member;      // 成员

    @Excel(name = "商家", orderNum = "7")
    private String merchant;    // 商家

    @Excel(name = "项目", orderNum = "8")
    private String project;     // 项目

    @Excel(name = "备注", orderNum = "9")
    private String remark;      // 备注
}
